package com.kingdee.eas.taskmanager;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class TaskManagerFactory
{
    private TaskManagerFactory()
    {
    }
    public static com.kingdee.eas.taskmanager.ITaskManager getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.taskmanager.ITaskManager)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("C8ABB430") ,com.kingdee.eas.taskmanager.ITaskManager.class);
    }
    
    public static com.kingdee.eas.taskmanager.ITaskManager getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.taskmanager.ITaskManager)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("C8ABB430") ,com.kingdee.eas.taskmanager.ITaskManager.class, objectCtx);
    }
    public static com.kingdee.eas.taskmanager.ITaskManager getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.taskmanager.ITaskManager)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("C8ABB430"));
    }
    public static com.kingdee.eas.taskmanager.ITaskManager getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.taskmanager.ITaskManager)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("C8ABB430"));
    }
}